package com.xu.crawler.enums;

/**
 * metadata
 * 数据状态
 */
public enum DataStatusEnum {

    NO(0, "否，无效"),
    YES(1, "是，有效");

    private int dataStatus;
    private String desc;

    DataStatusEnum(int dataStatus, String desc) {
        this.dataStatus = dataStatus;
        this.desc = desc;
    }

    public int getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(int dataStatus) {
        this.dataStatus = dataStatus;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
